package chixing.day05;

public class Computer {
    private MaiBoard maiBoard;
    private Video video;


    public Computer(MaiBoard maiBoard, Video video)
    {
    	this.maiBoard = maiBoard;
    	this.video = video;
    }
    public MaiBoard getMaiBoard() {
        return maiBoard;
    }

    public void setMaiBoard(MaiBoard maiBoard) {
        this.maiBoard = maiBoard;
    }

    public Video getVideo() {
        return video;
    }

    public void setVideo(Video video) {
        this.video = video;
    }

    public String toString() {
        return "Computer{" +
                "maiBoard=" + maiBoard +
                ", video=" + video +
                '}';
    }
}
